.alert-enter {
  opacity: 0;
  transform: translateX(-50%);
}

.alert-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}

.alert-exit {
  opacity: 1;
  transform: translateX(0);
}

.alert-exit-active {
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 200ms, transform 200ms;
}